package com.egao.common.module.counsel.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.egao.common.core.web.PageParam;
import com.egao.common.module.counsel.entity.CounselStudent;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author lym
 * @date 2022/1/24 17:07
 */
public interface CounselStudentMapper extends BaseMapper<CounselStudent> {

    /**
     * 分页查询
     *
     * @param page 查询分页参数
     * @return List<CounselStudent>
     */
    List<CounselStudent> listPage(@Param("page") PageParam<CounselStudent> page);

    /**
     * 大屏数据源
     * @param startDate 开始时间
     * @param endDate 结束时间
     * @return List<CounselStudent>
     */
    List<CounselStudent> listBigData(@Param("startDate") String startDate, @Param("endDate") String endDate);
}
